package com.etc.service;

import java.util.List;

import com.etc.entity.BroadcastingStation;
import com.etc.entity.MusicInfo;
import com.etc.entity.PageInfo;

public interface BroadcastingStationService {

	/**
	 * 根据电台歌单编号及名字查询歌单
	 * @param broadcastingStationId
	 * @param broadcastingStationName
	 * @return
	 */
	List<BroadcastingStation> getBroadcastingStations(String zt);
	/**
	 * 根据组合条件查询歌单分页结果 
	 * @param languagesName
	 * @param styleName
	 * @param themeName
	 * @param moodName
	 * @param sceneName
	 * @param pageNum
	 * @param pageSize
	 * @return
	 */
	PageInfo<BroadcastingStation> findBroadcastingStationsByCondition(String languagesName, String styleName, String themeName,
			String moodName, String sceneName,int pageNum,int pageSize);
	/**
	 * 根据条件查询不同电台的第一个id 
	 * @param BroadcastingStationId
	 * @return
	 */
	int getMusicByCondition(int BroadcastingStationId);
	/**
	 * 根据歌单ID查询歌单信息
	 * @param broadcastingStationId
	 * 
	 * @return
	 */
	BroadcastingStation getBroadcastingStationById(int broadcastingStationId);
	/** * 根据用户id获得用户收藏歌单
	 * @param userId
	 * @return
	 */
	List<BroadcastingStation> findByUserId(Integer userId);
}
